]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
16 years agoRework StDrawingArea not to use ClutterCairoTexture
Owen W. Taylor [Wed, 3 Mar 2010 23:00:05 +0000 (18:00 -0500)]
Rework StDrawingArea not to use ClutterCairoTexture

Having StDrawingArea use ClutterCairoTexture causes circularity
problems with sizing - StDrawingArea wants to use its allocation for
the size of the texture, but ClutterTexture wants to use the size of
the texture to determine the requited size.

Avoid this by making StDrawingArea directly use Cairo and CoglTexture;
while doing this, the API is changed a bit for simplicity and to
match our use case:

 - Instead of clutter_cairo_texture_create(), we have
   st_drawing_area_get_context() to retrieve an already created
   context. This can only be called in the ::repaint signal.

 - The ::redraw signal is changed to ::repaint so we can have
   st_drawing_area_queue_repaint() that doesn't collide with
   clutter_actor_queue_redraw()

 - ::repaint is now emitted lazily when painting the actor rather
   than synchronously at various different points.

https://bugzilla.gnome.org/show_bug.cgi?id=611750

16 years agoSupport and require Clutter 1.2
Owen W. Taylor [Thu, 11 Feb 2010 20:24:13 +0000 (15:24 -0500)]
Support and require Clutter 1.2

- Specify a minimum version of clutter-1.2.0
 - Switch clutter branch in the moduleset to master
 - Replace deprecated cogl_texture/material_unref() with
   cogl_handle_unref()
 - Use cogl_clip_push_rectangle() rather than cogl_clip_push()
 - Replace cogl_check_extension() with strstr - should be
   accurate enough.

https://bugzilla.gnome.org/show_bug.cgi?id=610679

16 years agoAdjust more-apps menu to better match the overall theme
Florian Müllner [Wed, 3 Mar 2010 00:07:18 +0000 (01:07 +0100)]
Adjust more-apps menu to better match the overall theme

https://bugzilla.gnome.org/show_bug.cgi?id=612452

16 years agoAdd get_horizontal/vertical_padding() methods
Adel Gadllah [Thu, 11 Mar 2010 17:04:08 +0000 (18:04 +0100)]
Add get_horizontal/vertical_padding() methods

Add get_horizontal_padding() and get_vertical_padding() methods,
that return the total padding (LEFT+RIGHT or TOP+BOTTOM).

https://bugzilla.gnome.org/show_bug.cgi?id=597983

16 years agost_widget_get_theme_node: g_error if called on an unparented widget
Dan Winship [Wed, 17 Feb 2010 20:21:51 +0000 (15:21 -0500)]
st_widget_get_theme_node: g_error if called on an unparented widget

It's wrong to do anything that requires looking up a widget's style
before you add the widget to the stage, since its final style may
depend on properties inherited from its parents.
st_widget_get_theme_node() used to emit a warning in this case, but
many would-be contributors apparently didn't notice. Help them out.

https://bugzilla.gnome.org/show_bug.cgi?id=610279

16 years agoUpdated French translation
Claude Paroz [Tue, 9 Mar 2010 21:55:53 +0000 (22:55 +0100)]
Updated French translation

Contributed by Pablo Martin-Gomez and Claude Paroz

16 years agoDon't activate workspace when more than one window is open
Adel Gadllah [Sun, 7 Mar 2010 18:33:58 +0000 (19:33 +0100)]
Don't activate workspace when more than one window is open

Currently clicking on an empty spot on the workspace actors switches to the workspace, this has a side effect that when for some reason (like using a touchpad),
the user misses the window he intends to open he will end up with the currently focused window instead.

Disable this behaviour if more than one window is open (in that case the user has to explicitly target a specific window).

https://bugzilla.gnome.org/show_bug.cgi?id=610868

16 years ago[StTextureCache] The requested size needs to be part of the cache key
Colin Walters [Tue, 9 Mar 2010 19:08:22 +0000 (14:08 -0500)]
[StTextureCache] The requested size needs to be part of the cache key

Otherwise we'll only render it once, which is clearly wrong.

16 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 9 Mar 2010 16:47:30 +0000 (17:47 +0100)]
Updated Norwegian bokmål translation

16 years ago[runDialog] Support opening files and folders
Florian Müllner [Fri, 26 Feb 2010 19:07:44 +0000 (20:07 +0100)]
[runDialog] Support opening files and folders

Support completion on files and folders in the run dialog and launch
the default application when activated. Assume a path relative to the
home directory if execution as command fails and the input doesn't start
with a slash.
Removed workaround for relayout of error messages.

https://bugzilla.gnome.org/show_bug.cgi?id=611209

16 years agoLook at current mouse position for dropping
Maxim Ermilov [Mon, 8 Mar 2010 22:50:49 +0000 (01:50 +0300)]
Look at current mouse position for dropping

Previously we used the top-left corner which was not intuitive,
particularly when dragging partially opaque actors.
https://bugzilla.gnome.org/show_bug.cgi?id=607821

16 years agoConvert border_width, border_radius to integers
Colin Walters [Thu, 11 Feb 2010 02:10:49 +0000 (21:10 -0500)]
Convert border_width, border_radius to integers

This saves the consumers from having to deal with rounding.

https://bugzilla.gnome.org/show_bug.cgi?id=607500

16 years agoSet this._notificationRemoved to false in _hideNotificationComplete()
Marina Zhurakhinskaya [Thu, 25 Feb 2010 21:19:11 +0000 (16:19 -0500)]
Set this._notificationRemoved to false in _hideNotificationComplete()

We used to set this._notificationRemoved to false in _hideNotification().
However, the user focusing on the associated application can result in the
source being removed while the notification is hiding, in which case
this._notificationRemoved was set to true and never unset. This resulted in
the next notification only showing up briefly and hiding. Moving setting
this._notificationRemoved to false to _hideNotificationComplete() fixes this
behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=611122

16 years agoRemove st_widget accessors for background and border actors
Colin Walters [Mon, 8 Feb 2010 19:57:33 +0000 (14:57 -0500)]
Remove st_widget accessors for background and border actors

StButton animated the background for button transitions; since these aren't
presently part of the shell design, simply remove them.  We can readd
these in the future.

StTooltip should probably have :vertical and :horizontal pseudo classes
to make the arrow work but it should still function.

https://bugzilla.gnome.org/show_bug.cgi?id=607500

16 years agoAdd st_texture_cache_load
Colin Walters [Tue, 9 Feb 2010 21:53:59 +0000 (16:53 -0500)]
Add st_texture_cache_load

Function for caching texture data from an arbitrary origin.

https://bugzilla.gnome.org/show_bug.cgi?id=607500

16 years agoRework internals to be string based
Colin Walters [Tue, 9 Feb 2010 20:12:28 +0000 (15:12 -0500)]
Rework internals to be string based

Rather than having ShellTextureCache know about the type of each
item it's caching, this lays the foundation for simply caching
arbitrary string -> CoglHandle.

https://bugzilla.gnome.org/show_bug.cgi?id=607500

16 years agoAdd hover style property
Florian Müllner [Sat, 27 Feb 2010 19:51:15 +0000 (20:51 +0100)]
Add hover style property

Set the entry's pseudo class to "hover" when the pointer enters the
inactive widget and reset it appropriately on leave.

https://bugzilla.gnome.org/show_bug.cgi?id=611095

16 years agofix issues with hint text
Thomas Wood [Tue, 20 Oct 2009 13:22:17 +0000 (14:22 +0100)]
fix issues with hint text

Add a "hint_visible" private variable to keep track of when the hint text
is visible. Use this to determine whether to return the text from the
internal ClutterText or whether to return an empty string.

Fixes: http://bugzilla.moblin.org/show_bug.cgi?id=6837
       http://bugzilla.moblin.org/show_bug.cgi?id=6836

https://bugzilla.gnome.org/show_bug.cgi?id=611095

16 years agoadd missing import
Florian Scandella [Mon, 8 Mar 2010 13:13:59 +0000 (14:13 +0100)]
add missing import

https://bugzilla.gnome.org/show_bug.cgi?id=612018

16 years ago[Overview] Fix click handling of open panes
Florian Müllner [Wed, 3 Mar 2010 23:10:16 +0000 (00:10 +0100)]
[Overview] Fix click handling of open panes

The top part of the application pane closes the pane, while outside
the menu only the workspace area accepts clicks for closing the pane.
Let the user close the pane by clicking anywhere outside the menu, but
not inside.

https://bugzilla.gnome.org/show_bug.cgi?id=611641

16 years ago[Overview] Delay repositioning after closing windows
Florian Müllner [Sun, 28 Feb 2010 06:56:04 +0000 (07:56 +0100)]
[Overview] Delay repositioning after closing windows

When closing windows in the window picker, the remaining windows
move to their new positions, which prevents the user from performing
additional actions in the picker until the animation stops and the
user adjusts to the new layout.

Instead we try to be smart and delay the repositioning, either until
the pointer stops moving or until it leaves the workspace.

https://bugzilla.gnome.org/show_bug.cgi?id=611167

16 years ago[StEntry] Make the cursor size stylable
Florian Müllner [Sat, 27 Feb 2010 22:19:24 +0000 (23:19 +0100)]
[StEntry] Make the cursor size stylable

Just as the cursor color can be styled using the "caret-color"
property, expose the cursor size as "caret-size".

https://bugzilla.gnome.org/show_bug.cgi?id=611095

16 years agoAdd st_texture_cache_load_file_to_cogl_texture
Colin Walters [Tue, 9 Feb 2010 18:24:33 +0000 (13:24 -0500)]
Add st_texture_cache_load_file_to_cogl_texture

For StWidget we want the ability to load raw CoglHandle references
rather than having a big pile of actors backing StWidget.

Several bits of StWidget expect to be able to synchronously load
textures; this is a crutch to support that until we can cleanly
make this asynchronous.

https://bugzilla.gnome.org/show_bug.cgi?id=607500

16 years agoRevert "Clean up definition of dragOffsetX, dragOffsetY"
Colin Walters [Fri, 5 Mar 2010 21:57:09 +0000 (16:57 -0500)]
Revert "Clean up definition of dragOffsetX, dragOffsetY"

This reverts commit aa7de264e683216e560b870ff43743aefaaeda54.

16 years agoMerge St.TextureCache and Shell.TextureCache
Colin Walters [Tue, 9 Feb 2010 17:42:07 +0000 (12:42 -0500)]
Merge St.TextureCache and Shell.TextureCache

Brute force merge these two by essentially replacing St.TextureCache
with a (renamed) Shell.TextureCache.

One function was added for convenience, namely "st_texture_cache_load_file_simple".
St.TextureCache had a function to load a texture from a filename, and it
returned NULL on error but only half the callers actually checked this.  This
function is better.

https://bugzilla.gnome.org/show_bug.cgi?id=607500

16 years agoClean up definition of dragOffsetX, dragOffsetY
Colin Walters [Fri, 5 Mar 2010 20:23:42 +0000 (15:23 -0500)]
Clean up definition of dragOffsetX, dragOffsetY

These variables were computed strangely; through cancellation
they'd end up being negative 1/2 the width/height of the actor,
so just use that directly.

https://bugzilla.gnome.org/show_bug.cgi?id=607821

16 years agoImprove 12/24 clock detection
Dirk-Jan C. Binnema [Sat, 27 Feb 2010 08:29:13 +0000 (10:29 +0200)]
Improve 12/24 clock detection

The current check looks at whether there was some am/pm suffix in the
localized time; however in some cases (locales) that does not seem to
work. this version instead checks whether the localized versions of 05:00 and
17:00 start with the same two digits; if not, it's probably a 24h clock.

https://bugzilla.gnome.org/show_bug.cgi?id=603488

16 years ago[ShellGenericContainer] When removing actors, remove them from skip_paint
Colin Walters [Thu, 4 Mar 2010 22:38:35 +0000 (17:38 -0500)]
[ShellGenericContainer] When removing actors, remove them from skip_paint

This fixes a regression introduced by the previous patch.

16 years ago[ShellGenericContainer] make this an StWidget
Dan Winship [Tue, 2 Mar 2010 20:21:22 +0000 (15:21 -0500)]
[ShellGenericContainer] make this an StWidget

https://bugzilla.gnome.org/show_bug.cgi?id=611647

16 years ago[ShellGenericContainer] minor style fixes
Dan Winship [Tue, 2 Mar 2010 19:11:45 +0000 (14:11 -0500)]
[ShellGenericContainer] minor style fixes

https://bugzilla.gnome.org/show_bug.cgi?id=611647

16 years ago[ShellGenericContainer] remove example
Dan Winship [Tue, 2 Mar 2010 19:08:32 +0000 (14:08 -0500)]
[ShellGenericContainer] remove example

There are plenty of examples in js/ui/ now

https://bugzilla.gnome.org/show_bug.cgi?id=611647

16 years ago[St] share common ClutterContainer implementation code
Dan Winship [Tue, 2 Mar 2010 20:05:14 +0000 (15:05 -0500)]
[St] share common ClutterContainer implementation code

https://bugzilla.gnome.org/show_bug.cgi?id=611647

16 years ago[search] Fix activation of results from custom renderers
Colin Walters [Thu, 4 Mar 2010 20:08:24 +0000 (15:08 -0500)]
[search] Fix activation of results from custom renderers

The previous commit broke activation when selecting an actor
from a custom renderer.  Fix this by explicitly defining a method
activateSelected on the search renderer.

16 years agoUse AppWellIcon for search results
Colin Walters [Mon, 22 Feb 2010 16:39:10 +0000 (11:39 -0500)]
Use AppWellIcon for search results

Switch to using an application icon as per design.

We need to drop the 4 pixels padding to ensure we fit 3 icons.

There was a typo where getVisibleCount should have been getVisibleResultsCount.

https://bugzilla.gnome.org/show_bug.cgi?id=610740

16 years ago[ShellGenericContainer] Add method to get number of skipped children
Colin Walters [Mon, 22 Feb 2010 21:22:38 +0000 (16:22 -0500)]
[ShellGenericContainer] Add method to get number of skipped children

This will be used in search results.

https://bugzilla.gnome.org/show_bug.cgi?id=610740

16 years ago[gnome-shell.modules] Skip all modules in gir-repository except those we need
Colin Walters [Wed, 3 Mar 2010 22:18:49 +0000 (17:18 -0500)]
[gnome-shell.modules] Skip all modules in gir-repository except those we need

Otherwise we're much more subject to random build failures from e.g.
GStreamer updates or the like.

16 years agoAdd gnome-shell-full target
Colin Walters [Wed, 24 Feb 2010 20:03:48 +0000 (15:03 -0500)]
Add gnome-shell-full target

This basically drops gir-repository, but pulls in GTK+ and stack.

TODO on this - we need to patch GTK+ to (possibly optionally)
pull in stuff like pixbuf loaders and themes from the system as well.

https://bugzilla.gnome.org/show_bug.cgi?id=610993

16 years agoFix problems on destruction
Owen W. Taylor [Fri, 26 Feb 2010 17:48:07 +0000 (12:48 -0500)]
Fix problems on destruction

StScrollBar: Be robust against being disposed multiple times,
  which can happen, and in fact, normally happens when destroying
  the parent.

StScrollView: Implement remove() for the hscroll and vscroll members,
  and just destroy them in dispose() and let them be removed.
  unparent the shadows, instead of just unref'ing them directly.

https://bugzilla.gnome.org/show_bug.cgi?id=611203

16 years agoUpdated Finnish translation.
Timo Jyrinki [Tue, 2 Mar 2010 06:27:50 +0000 (08:27 +0200)]
Updated Finnish translation.

16 years ago[panel] Fix RTL for appMenu, allocation, other misc.
Colin Walters [Mon, 1 Mar 2010 16:30:31 +0000 (11:30 -0500)]
[panel] Fix RTL for appMenu, allocation, other misc.

Other misc includes:
* Remove some unused CSS
* Readd comments

https://bugzilla.gnome.org/show_bug.cgi?id=611288

16 years ago(revert autobuilder test break)
Colin Walters [Mon, 1 Mar 2010 16:17:57 +0000 (11:17 -0500)]
(revert autobuilder test break)

16 years agoClip workspace area in grid view
Florian Müllner [Wed, 17 Feb 2010 01:53:18 +0000 (02:53 +0100)]
Clip workspace area in grid view

When workspaces slide in/out in mosaic view, they may cross with the
workspace controls, which looks pretty weird.

Also adjust the vertical spacing in the grid view so that the grid height
matches the workspace height in the linear view.

https://bugzilla.gnome.org/show_bug.cgi?id=610350

16 years ago[Overview] Base minimum motion on actors
Florian Müllner [Fri, 26 Feb 2010 15:45:05 +0000 (16:45 +0100)]
[Overview] Base minimum motion on actors

When figuring out where to position window previews, use the clone's
position instead of the the original meta window. There shouldn't be
a difference when entering the overview, but it makes the motion when
opening/closing new windows in the overview tinier and more predictable.

https://bugzilla.gnome.org/show_bug.cgi?id=611167

16 years agoFix tracking of single-process multi app cases
Adel Gadllah [Sun, 28 Feb 2010 20:51:34 +0000 (21:51 +0100)]
Fix tracking of single-process multi app cases

When starting oocalc or ooimpress from oowriter's menu get_app_for_window,
fails to recognize the newly started up as such, which result into the appMenu
still showing "Openoffice.org Writer" as app name.

Fix this by trying to window itself first before using the group for finding the app.

https://bugzilla.gnome.org/show_bug.cgi?id=611288

16 years agoRevert "(autobuilder test) Really break the build"
Colin Walters [Mon, 1 Mar 2010 15:59:51 +0000 (10:59 -0500)]
Revert "(autobuilder test) Really break the build"

This reverts commit 760b6ad9edf870ed7dcf7243bbf407a9d2679fe3.

16 years ago(autobuilder test) Really break the build
Colin Walters [Mon, 1 Mar 2010 15:52:31 +0000 (10:52 -0500)]
(autobuilder test) Really break the build

16 years ago(autobuilder test) Test commit to break the build
Colin Walters [Mon, 1 Mar 2010 15:38:29 +0000 (10:38 -0500)]
(autobuilder test) Test commit to break the build

16 years ago[panel] Handle async load of icons correctly
Colin Walters [Sun, 28 Feb 2010 20:51:28 +0000 (15:51 -0500)]
[panel] Handle async load of icons correctly

Fading the application icon required the texture to have already been
loaded, which was normally the case since we create icons for apps
in the well and browser; but when finding an app not from there,
the cogl-texture for the icon might not be available.

Fix this by watching for the texture and fading when it appears.

https://bugzilla.gnome.org/show_bug.cgi?id=611288

16 years ago[panel] Fix AppPanelMenu's allocation
Colin Walters [Sun, 28 Feb 2010 20:36:13 +0000 (15:36 -0500)]
[panel] Fix AppPanelMenu's allocation

Because we were setting the "fixed-position-set" property
on the internal label, its width/height requests weren't
being accounted for in the size request of the overall box.

The way we were hooking up to notify::allocation was hacky; do
this correctly by simply implementing a container.

https://bugzilla.gnome.org/show_bug.cgi?id=611288

16 years ago[StEntry] Add annotations
Florian Müllner [Sat, 27 Feb 2010 14:46:41 +0000 (15:46 +0100)]
[StEntry] Add annotations

All setters in StEntry allow to pass NULL - add appropriate annotations.

16 years ago[lookingGlass] Add style information to the picker
Florian Müllner [Mon, 18 Jan 2010 03:16:39 +0000 (04:16 +0100)]
[lookingGlass] Add style information to the picker

Currently the picker displays information on the hovered actor's
position and the object itself. Adding style id and class of
StWidgets to the displayed information can be very helpful for
identifying a particular actor or code segment.

https://bugzilla.gnome.org/show_bug.cgi?id=611211

16 years agoPort Lightbox to CSS and use it in runDialog
Maxim Ermilov [Fri, 26 Feb 2010 20:13:11 +0000 (23:13 +0300)]
Port Lightbox to CSS and use it in runDialog

Make Lightbox stylable and add a common style. Use it in runDialog.
https://bugzilla.gnome.org/show_bug.cgi?id=604978

16 years agoImprove run dialog
Maxim Ermilov [Fri, 26 Feb 2010 16:32:38 +0000 (19:32 +0300)]
Improve run dialog

Bind <Ctrl>+<Return> for run in terminal.
Port runDialog to css.
https://bugzilla.gnome.org/show_bug.cgi?id=604978

16 years ago[gnome-shell.in] When we don't have DISPLAY, attempt to pull in running session
Colin Walters [Thu, 25 Feb 2010 18:35:32 +0000 (13:35 -0500)]
[gnome-shell.in] When we don't have DISPLAY, attempt to pull in running session

This is a convenience for debugging when logging in over ssh.  Longer term
we should stick this code (in a more OS portable fashion) into ConsoleKit.

16 years agofix manual placement for RTL locales
Abderrahim Kitouni [Fri, 25 Dec 2009 11:27:09 +0000 (12:27 +0100)]
fix manual placement for RTL locales

https://bugzilla.gnome.org/show_bug.cgi?id=584662

16 years agofix menu position for RTL locales
Abderrahim Kitouni [Fri, 25 Dec 2009 08:58:32 +0000 (09:58 +0100)]
fix menu position for RTL locales

https://bugzilla.gnome.org/show_bug.cgi?id=584662

16 years agoFix single-actor widgets
Dan Winship [Tue, 7 Jul 2009 17:21:05 +0000 (13:21 -0400)]
Fix single-actor widgets

clutter_actor_unparent() is for use by container implementations only,
unlike gtk_widget_unparent()

https://bugzilla.gnome.org/show_bug.cgi?id=588090

16 years agoUpdated German translation
Mario Blättermann [Thu, 25 Feb 2010 09:30:49 +0000 (10:30 +0100)]
Updated German translation

16 years agoSimulate a focus-app change when leaving the overview
Florian Müllner [Wed, 24 Feb 2010 20:46:00 +0000 (21:46 +0100)]
Simulate a focus-app change when leaving the overview

When the currently focused app sends a notification while in the overview,
the corresponding source icon is not removed when the overview is left.
It does make some sense to treat the overview transition the same as a
normal focus change, so we should update the summary view accordingly.

16 years agoFix clicking on notification icons after updates
Florian Müllner [Tue, 23 Feb 2010 14:58:33 +0000 (15:58 +0100)]
Fix clicking on notification icons after updates

When a notification is updated by the application, the corresponding
app in its source is lost, so it is no longer possible to switch to
the application by clicking either the notification or the summary icon.
As the associated application of a source never changes, it appears safe
to leave it alone on notification updates.

https://bugzilla.gnome.org/show_bug.cgi?id=610820

16 years agoUpdated Polish translation
Piotr Drąg [Wed, 24 Feb 2010 17:29:24 +0000 (18:29 +0100)]
Updated Polish translation

16 years ago[ShellGlobal] Add shell_global_breakpoint
Colin Walters [Tue, 23 Feb 2010 23:49:02 +0000 (18:49 -0500)]
[ShellGlobal] Add shell_global_breakpoint

This is useful for debugging with gdb.

16 years agoUpdated Danish translation
Kris Thomsen [Tue, 23 Feb 2010 21:07:06 +0000 (22:07 +0100)]
Updated Danish translation

16 years ago[StThemeNode] allow "background-gradient-direction: none"
Dan Winship [Tue, 23 Feb 2010 16:13:58 +0000 (11:13 -0500)]
[StThemeNode] allow "background-gradient-direction: none"

this lets a more-specific CSS rule turn off the gradient inherited
from a less-specific rule

https://bugzilla.gnome.org/show_bug.cgi?id=610856

16 years agoRemove source icon when a corresponding window is activated
Florian Müllner [Sun, 21 Feb 2010 05:25:23 +0000 (06:25 +0100)]
Remove source icon when a corresponding window is activated

Source icons are no longer needed to inform the user about events
having occured in a particular application when (s)he activates the
window - treat that case just as if the user had clicked the source
icon.

https://bugzilla.gnome.org/show_bug.cgi?id=610494

16 years agoUse gjs_context_get_native_context()
Owen W. Taylor [Tue, 23 Feb 2010 16:52:55 +0000 (11:52 -0500)]
Use gjs_context_get_native_context()

When exported into a public header, gjs_context_get_context() was
renamed to gjs_context_get_native_context(). Adapt, and remove
local prototype.

https://bugzilla.gnome.org/show_bug.cgi?id=610845

16 years agoFix installation of .mo files
Owen W. Taylor [Tue, 23 Feb 2010 15:43:39 +0000 (10:43 -0500)]
Fix installation of .mo files

The recent cleanup of the configure.ac cleanups accidentally
removed AC_SUBST(GETTEXT_PACKAGE); more precisely restore this
section back to its original state.

https://bugzilla.gnome.org/show_bug.cgi?id=610787

16 years agoBump version to 2.29.0
Owen W. Taylor [Mon, 22 Feb 2010 23:21:38 +0000 (18:21 -0500)]
Bump version to 2.29.0

16 years agoDistribute manual page
Owen W. Taylor [Tue, 23 Feb 2010 00:37:08 +0000 (19:37 -0500)]
Distribute manual page

Switch from man_MANS to dist_man_MANS so gnome-shell.1 is distributed.

16 years agoFix include path when building Shell-1.0.gir
Owen W. Taylor [Tue, 23 Feb 2010 03:07:20 +0000 (22:07 -0500)]
Fix include path when building Shell-1.0.gir

Since shell-slicer.h includes st.h, and that includes
<st/*.h>, we need to add -I $(srcdir) to the command line when
running g-ir-scanner to generate Shell-1.0.gir.

16 years agoDon't generate st.h in a subdir
Owen W. Taylor [Tue, 23 Feb 2010 00:35:03 +0000 (19:35 -0500)]
Don't generate st.h in a subdir

For srcdir != builddir, in the builddir, the st/ subdirectory doesn't
exist, so we can't generate st.h there. Just switch to building st.h
directly in the current directory. (The other option would be to
create a st/ subdirectory in the builddir if necessary; might be a
little cleaner, but this works for now and gets things distchecking.)

16 years agoConvert the check-for-missing files check to a python script
Owen W. Taylor [Tue, 23 Feb 2010 00:21:42 +0000 (19:21 -0500)]
Convert the check-for-missing files check to a python script

'git ls-files --exclude=<pattern>' was changed (intentionally!)
not to exclude anything files that are actually in the index.
Since git ls-files by default simply lists the files in the
index, this is a problem. Emulating this in shell went past
the limits of what made sense, so move it to a simple external
python script.

16 years agoClean up unnecessary changes to configure.ac
Owen W. Taylor [Sat, 13 Feb 2010 04:42:47 +0000 (05:42 +0100)]
Clean up unnecessary changes to configure.ac

Remove unnecessary checks for headers and functions, revert
changes to internationalization that introduced duplication.

(Based on a patch by Javier Jardón)

https://bugzilla.gnome.org/show_bug.cgi?id=609205

16 years agoRemove check-news from AM_INIT_AUTOMAKE
Owen W. Taylor [Mon, 22 Feb 2010 23:33:31 +0000 (18:33 -0500)]
Remove check-news from AM_INIT_AUTOMAKE

Duplicating information from release announcements in NEWS
will quickly result in a huge NEWS file.

16 years agoFix demands attention to work with new messagetray api
Adel Gadllah [Mon, 22 Feb 2010 22:40:01 +0000 (23:40 +0100)]
Fix demands attention to work with new messagetray api

16 years agoAlways make notifications with '\n' in bannerText expandable
Florian Müllner [Mon, 22 Feb 2010 21:05:42 +0000 (22:05 +0100)]
Always make notifications with '\n' in bannerText expandable

Right now notifications are expandable if the length of bannerText
exceeds the notification's width - however, if bannerText contains
newlines, it should be expandable regardless of the length.

https://bugzilla.gnome.org/show_bug.cgi?id=610549

16 years agoCancel zoom of non-focused windows when leaving overview
Florian Müllner [Mon, 15 Feb 2010 22:11:09 +0000 (23:11 +0100)]
Cancel zoom of non-focused windows when leaving overview

When leaving the overview by hitting escape or super, all windows animate
to their original positions. Zoomed windows are kept above others until
the animation ends, then the focused window is brought to the front; as
this looks odd if the zoomed window does not have focus, cancel the zoom
in that case before leaving the overview.

https://bugzilla.gnome.org/show_bug.cgi?id=609243

16 years agoFix problems when leaving the overview with a zoomed window
Florian Müllner [Sun, 7 Feb 2010 14:25:16 +0000 (15:25 +0100)]
Fix problems when leaving the overview with a zoomed window

While zooming, a window clone is reparented to the stage and thus cannot
be destroyed automatically by the "parent" container. To prevent the clone
and the corresponding overlay from leaking, we enforce destroying the clone
with the workspace.

https://bugzilla.gnome.org/show_bug.cgi?id=609243

16 years agoSpecial-handle Empathy to have multiple sources and to queue notifications
Marina Zhurakhinskaya [Mon, 22 Feb 2010 22:26:00 +0000 (17:26 -0500)]
Special-handle Empathy to have multiple sources and to queue notifications

We are planning to add Empathy-specific features in the message tray, but in the
meantime we handle Empathy notifications received through the notification daemon
so that their behavior is closer to the eventual design, which is how it was before
we started associating applications with a single source and enabled notification
replacement.

16 years agoAssociate sources with applications
Marina Zhurakhinskaya [Mon, 22 Feb 2010 22:19:32 +0000 (17:19 -0500)]
Associate sources with applications

Use the "appName" parameter in notifications to identify the source
rather than the id - use the latter to enable update and removal of
individual notifications as laid out in the desktop notification spec.

This is a rebase of the patch by Florian Müllner.

16 years agoAdd top and bottom shadows to app browser
Maxim Ermilov [Mon, 22 Feb 2010 22:07:42 +0000 (01:07 +0300)]
Add top and bottom shadows to app browser

Add a 'vshadow' property to StScrollView, which, when turned on,
overlays gradient shadows on the top and bottom of the StScrollView.

Turn this on for the StScrollView used for the app browser.
https://bugzilla.gnome.org/show_bug.cgi?id=609604

16 years agoNotificationDaemon: add rewriteRules infrastructure, use it for xchat
Dan Winship [Tue, 16 Feb 2010 22:32:19 +0000 (17:32 -0500)]
NotificationDaemon: add rewriteRules infrastructure, use it for xchat

Changes notifications like:

    XChat: Private message from: danw (GimpNet) blah...

to

    danw: blah blah blah blah

(the "XChat" being unnecessary since there's already an xchat icon
there anyway.)

https://bugzilla.gnome.org/show_bug.cgi?id=608915

16 years agoAdd the workspaces view key to the gconf schema
Dan Winship [Sat, 13 Feb 2010 21:39:13 +0000 (16:39 -0500)]
Add the workspaces view key to the gconf schema

Also rename the key to make it less ambiguous, and change its value
from an int to a string.

https://bugzilla.gnome.org/show_bug.cgi?id=609871

16 years agoMake width of workspace switcher popup dynamic
Mads Villadsen [Tue, 16 Feb 2010 21:34:57 +0000 (22:34 +0100)]
Make width of workspace switcher popup dynamic

Make the width of the workspace switcher dynamic in order to make it have the same proportions as the actual screen.

Call redraw after adding indicator to stage to avoid warning.

https://bugzilla.gnome.org/show_bug.cgi?id=610049

Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com>
16 years agoAdd demands attention support to the messagetray
Adel Gadllah [Mon, 22 Feb 2010 18:53:41 +0000 (19:53 +0100)]
Add demands attention support to the messagetray

Inform the user about demands attention events using the messagetray.

Clicking on the notification icon moves the user to the window.

It differentiates between newly started apps and windows of already running apps, by showing different banners for this cases.

It is based on Jon Nettleton's "window attention" extension.

https://bugzilla.gnome.org/show_bug.cgi?id=610594

16 years ago[MessageTray] Clear bannerText before re-adding on updates
Florian Müllner [Mon, 22 Feb 2010 19:06:13 +0000 (20:06 +0100)]
[MessageTray] Clear bannerText before re-adding on updates

Currently only the old title/summary line is removed from
notifications before setting the updated values - do the
same for bannerText if applicable.

16 years agoAdd additional padding to the view specific workspace controls
Florian Müllner [Sun, 14 Feb 2010 21:06:32 +0000 (22:06 +0100)]
Add additional padding to the view specific workspace controls

In the latest mockup, there is more spacing around the scroll bar than
between the other controls.

https://bugzilla.gnome.org/show_bug.cgi?id=610189

16 years agoFix invalid call to st_widget_get_theme_node() in WindowOverlay
Florian Müllner [Thu, 18 Feb 2010 04:15:28 +0000 (05:15 +0100)]
Fix invalid call to st_widget_get_theme_node() in WindowOverlay

WindowOverlay has two actors, both with custom style properties, which
share a common _onStyleChanged() handler. This is not a problem when
entering the overview, because the actors' parent (the workspaces group)
is hidden while the actors are added. However, when windows are added to
the workspace while in the overview (e.g. when opening a new window or
dragging a window from one workspace to another), adding the first actor
to the workspaces group triggers a style-changed signal - the handler
then calls st_widget_get_theme_node() on both actors, which triggers a
warning as the second actor has not been parented yet.

https://bugzilla.gnome.org/show_bug.cgi?id=610279

16 years ago_computeWindowMotion calculate difference between relative positions
Maxim Ermilov [Mon, 22 Feb 2010 17:07:58 +0000 (20:07 +0300)]
_computeWindowMotion calculate difference between relative positions

https://bugzilla.gnome.org/show_bug.cgi?id=607826

16 years ago[appDisplay] Use AUTOMATIC for apps-more, not ALWAYS
Colin Walters [Mon, 22 Feb 2010 16:54:16 +0000 (11:54 -0500)]
[appDisplay] Use AUTOMATIC for apps-more, not ALWAYS

No need to display a scrollbar if we don't need to, and ALWAYS
isn't yet implemented anyways.

https://bugzilla.gnome.org/show_bug.cgi?id=609015

16 years ago[StScrollView] Fix incorrect assertion, defaults, and test case
Colin Walters [Mon, 22 Feb 2010 16:51:54 +0000 (11:51 -0500)]
[StScrollView] Fix incorrect assertion, defaults, and test case

The type we don't currently handle is _ALWAYS, my original use
of g_return_if_fail was wrong.

Also the default should be AUTOMATIC in the properties, not ALWAYS.

Finally the test case was still using the incorrect St.ScrollPolicy.

https://bugzilla.gnome.org/show_bug.cgi?id=609015

16 years ago[Notification] Replace all newlines in body with spaces
Florian Müllner [Sat, 20 Feb 2010 21:08:54 +0000 (22:08 +0100)]
[Notification] Replace all newlines in body with spaces

Accidentally we only replaced the first newline of the body text with
spaces - replace all occurrences instead.

https://bugzilla.gnome.org/show_bug.cgi?id=610549

16 years ago[messageTray] Fix text with ampersands not being displayed
Florian Müllner [Sat, 20 Feb 2010 03:28:47 +0000 (04:28 +0100)]
[messageTray] Fix text with ampersands not being displayed

If the notification body contains '&' it ends up empty and a warning
about an invalid entity is printed on stderr, so our escape code must
handle ampersands as well.

https://bugzilla.gnome.org/show_bug.cgi?id=607375

16 years agoget_app_for_window_direct search ShellApp by window, before create.
Maxim Ermilov [Sun, 21 Feb 2010 00:16:30 +0000 (03:16 +0300)]
get_app_for_window_direct search ShellApp by window, before create.

https://bugzilla.gnome.org/show_bug.cgi?id=610324

16 years agoShow/hide the summary during the overview transition
Florian Müllner [Fri, 19 Feb 2010 00:42:09 +0000 (01:42 +0100)]
Show/hide the summary during the overview transition

Right now, the summary starts popping up when the overview has been
shown and starts to disappear when the overview is hidden. Instead,
animate the summary during the overview transition.

https://bugzilla.gnome.org/show_bug.cgi?id=610520

16 years agoUpdated Bulgarian translation
Ivaylo Valkov [Sat, 20 Feb 2010 12:30:00 +0000 (14:30 +0200)]
Updated Bulgarian translation

16 years agoAdd missing section-more-open file from previous commit
Colin Walters [Fri, 19 Feb 2010 20:52:56 +0000 (15:52 -0500)]
Add missing section-more-open file from previous commit

16 years agoImplement newer design for "more apps" view
Maxim Ermilov [Tue, 16 Feb 2010 00:50:36 +0000 (03:50 +0300)]
Implement newer design for "more apps" view

Replace the old GenericDisplay-based system with one which reuses
the WellGrid class and uses a new scrolling container.

https://bugzilla.gnome.org/show_bug.cgi?id=609015

16 years ago[StScrollView] Add support for GtkPolicyType for scrollbars
Colin Walters [Tue, 16 Feb 2010 16:04:07 +0000 (11:04 -0500)]
[StScrollView] Add support for GtkPolicyType for scrollbars

Previously we were hacking out the vertical scrollbar, this patch
allow us to sanely say in which directions we want to scroll.

Note this patch intentionally changes St to depend on GTK+ in the
API.  I believe this is a correct long term change where we should
view St as co-evolving with GTK+ rather than replacing or paralleling.

https://bugzilla.gnome.org/show_bug.cgi?id=609015

16 years agofix selection of all-workspace windows
Maxim Ermilov [Fri, 19 Feb 2010 16:42:36 +0000 (19:42 +0300)]
fix selection of all-workspace windows

all-workspace windows can be active on every workspace.
https://bugzilla.gnome.org/show_bug.cgi?id=603078